package com.mf.mapper.basic;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mf.entity.dto.basic.DtoRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mf.entity.req.basic.search.SearchReqRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 角色表
 *
 */
@Mapper
public interface MapperRole extends BaseMapper<DtoRole> {
    /**
     * 分页列表查询树结构
     */
    Page<DtoRole> findPageTreeByParams(Page<Object> page, @Param("params") SearchReqRole searchReqRole);
}
